package com.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.product.controller.vo.ProductByPageVo;
import com.product.controller.vo.editEquityVo;
import com.product.controller.vo.equityVo;
import com.product.entity.ProductEquity;

import java.util.List;

public interface IProductEquity extends IService<ProductEquity> {

    /*
    * @author 范铁凝
    * @date 2024/6/19
    * 上架商品
    */
    Boolean addEquity(equityVo equityVo);

    /*
    * @author 范铁凝
    * @date 2024/6/19
    * 更新
    */
    Boolean editEquity(editEquityVo editEquityVo);

    /*
    * @author 范铁凝
    * @date 2024/6/19
    * 根据权益ID获取商品
    */
    editEquityVo getEquityByEquityId(Long equityId);


}
